Optimal. Leaf size=57 \[ -\frac {d \left (a+b \log \left (c x^n\right )\right )}{4 x^4}-\frac {e \left (a+b \log \left (c x^n\right )\right )}{2 x^2}-\frac {b d n}{16 x^4}-\frac {b e n}{4 x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 47, normalized size of antiderivative = 0.82, number of steps used = 4, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {14, 2334, 12} \[ -\frac {1}{4} \left (\frac {d}{x^4}+\frac {2 e}{x^2}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {b d n}{16 x^4}-\frac {b e n}{4 x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 2334
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right ) \left (a+b \log \left (c x^n\right )\right )}{x^5} \, dx &=-\frac {1}{4} \left (\frac {d}{x^4}+\frac {2 e}{x^2}\right ) \left (a+b \log \left (c x^n\right )\right )-(b n) \int \frac {-d-2 e x^2}{4 x^5} \, dx\\ &=-\frac {1}{4} \left (\frac {d}{x^4}+\frac {2 e}{x^2}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {1}{4} (b n) \int \frac {-d-2 e x^2}{x^5} \, dx\\ &=-\frac {1}{4} \left (\frac {d}{x^4}+\frac {2 e}{x^2}\right ) \left (a+b \log \left (c x^n\right )\right )-\frac {1}{4} (b n) \int \left (-\frac {d}{x^5}-\frac {2 e}{x^3}\right ) \, dx\\ &=-\frac {b d n}{16 x^4}-\frac {b e n}{4 x^2}-\frac {1}{4} \left (\frac {d}{x^4}+\frac {2 e}{x^2}\right ) \left (a+b \log \left (c x^n\right )\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 69, normalized size = 1.21 \[ -\frac {a d}{4 x^4}-\frac {a e}{2 x^2}-\frac {b d \log \left (c x^n\right )}{4 x^4}-\frac {b e \log \left (c x^n\right )}{2 x^2}-\frac {b d n}{16 x^4}-\frac {b e n}{4 x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 60, normalized size = 1.05 \[ -\frac {b d n + 4 \, {\left (b e n + 2 \, a e\right )} x^{2} + 4 \, a d + 4 \, {\left (2 \, b e x^{2} + b d\right )} \log \relax (c) + 4 \, {\left (2 \, b e n x^{2} + b d n\right )} \log \relax (x)}{16 \, x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.28, size = 65, normalized size = 1.14 \[ -\frac {8 \, b n x^{2} e \log \relax (x) + 4 \, b n x^{2} e + 8 \, b x^{2} e \log \relax (c) + 8 \, a x^{2} e + 4 \, b d n \log \relax (x) + b d n + 4 \, b d \log \relax (c) + 4 \, a d}{16 \, x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.16, size = 248, normalized size = 4.35 \[ -\frac {\left (2 e \,x^{2}+d \right ) b \ln \left (x^{n}\right )}{4 x^{4}}-\frac {-4 i \pi b e \,x^{2} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )+4 i \pi b e \,x^{2} \mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}+4 i \pi b e \,x^{2} \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}-4 i \pi b e \,x^{2} \mathrm {csgn}\left (i c \,x^{n}\right )^{3}-2 i \pi b d \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )+2 i \pi b d \,\mathrm {csgn}\left (i c \right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}+2 i \pi b d \,\mathrm {csgn}\left (i x^{n}\right ) \mathrm {csgn}\left (i c \,x^{n}\right )^{2}-2 i \pi b d \mathrm {csgn}\left (i c \,x^{n}\right )^{3}+4 b e n \,x^{2}+8 b e \,x^{2} \ln \relax (c )+8 a e \,x^{2}+b d n +4 b d \ln \relax (c )+4 a d}{16 x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.47, size = 57, normalized size = 1.00 \[ -\frac {b e n}{4 \, x^{2}} - \frac {b e \log \left (c x^{n}\right )}{2 \, x^{2}} - \frac {a e}{2 \, x^{2}} - \frac {b d n}{16 \, x^{4}} - \frac {b d \log \left (c x^{n}\right )}{4 \, x^{4}} - \frac {a d}{4 \, x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.38, size = 51, normalized size = 0.89 \[ -\frac {\left (2\,a\,e+b\,e\,n\right )\,x^2+a\,d+\frac {b\,d\,n}{4}}{4\,x^4}-\frac {\ln \left (c\,x^n\right )\,\left (\frac {b\,e\,x^2}{2}+\frac {b\,d}{4}\right )}{x^4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.57, size = 88, normalized size = 1.54 \[ - \frac {a d}{4 x^{4}} - \frac {a e}{2 x^{2}} - \frac {b d n \log {\relax (x )}}{4 x^{4}} - \frac {b d n}{16 x^{4}} - \frac {b d \log {\relax (c )}}{4 x^{4}} - \frac {b e n \log {\relax (x )}}{2 x^{2}} - \frac {b e n}{4 x^{2}} - \frac {b e \log {\relax (c )}}{2 x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________